package com.wwc;

import com.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2 // http://localhost/swagger-ui.html
@EnableEurekaClient
@RibbonClient(name = "PAYMENT-SERVICE", configuration = MySelfRule.class)
public class ConsumerEurekaOrder80Application{
	public static void main(String[] args){
		SpringApplication.run(ConsumerEurekaOrder80Application.class, args);
	}
}
